using System.Collections.Generic;

namespace Book_Shop.DAL.DAO
{
    public class ShoppingCart
    {
        public int Id { get; set; }
        public List<Book> Books { get; private set; }
        public ShoppingCart()
        {
          Books = new List<Book>();
        }
        public void AddBook(Book book)
        {
            Books.Add(book);
        }

        public void RemoveBook(Book book)
        {
            Books.Remove(book);
        }

       
    
    }
}